// Point.cpp

#include "Point.h"

/**
* Constructor.
*/
Point::Point() : x( 0 ), y( 0 ) { }

/**
* Constructor.
*
* @param x the new x value.
* @param y the new y value.
*/
Point::Point( const int x, const int y )
: x( x ), y( y ) { }

/**
* Destructor.
*/
Point::~Point() { }

/**
* Returns x.
*
* @return int the x value.
*/
int Point::getX() const
{
	return x;
}

/**
* Sets x.
*
* @param x the new x value.
*/
void Point::setX( const int x )
{
	this->x = x;
}

/**
* Returns y.
*
* @return int the y value.
*/
int Point::getY() const
{
	return y;
}

/**
* Sets y.
*
* @param y the new y value
*/
void Point::setY( const int y )
{
	this->y = y;
}
